package cn.kxm.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.kxm.pojo.Storageinfo;

public interface StorageInfoMapper {
    public int addStorageInfoByInfow(Storageinfo info);
    public int updateStorageInfoByPartCode(Storageinfo info);
    public Storageinfo geStorageinfoByPartCode(String partCode);
    public List<Map<String, Object>> getStorageInfoListByCode(@Param("partNo")String partNo,
    		                                                  @Param("currPartNo")String currPartNo,
    		                                                  @Param("partName")String partName,
    		                                                  @Param("partTypeId")Integer partTypeId,
    		                                                  @Param("instroageStatus")Integer instroageStatus,
    		                                                  @Param("currPage")Integer currPage,
    		                                                  @Param("size")Integer size
    		                                                  );
    public int getStorageInfoListByCodeCount(@Param("partNo")String partNo,
            @Param("currPartNo")String currPartNo,
            @Param("partName")String partName,
            @Param("partTypeId")Integer partTypeId,
            @Param("instroageStatus")Integer instroageStatus
            );
}
